package com.hugboy.object1.test3;

public class TestStudent {
    public static void main(String[] args) {
        // 无参构造方法创建对象
        Student s1 = new Student();
        s1.setName("大东");
        s1.show();

        // 有参
        Student s2 = new Student("李佳琪", 33);
        s2.show();
    }
}
